package com.haina.shop.result;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

//泛型分页数据
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IPageIndexImg<T> {
    //每页显示条数
    private Long size;
    //总记录数
    private Long total;
    private List<T> records;
    //当前页码
    private Long current;
    //一共多少页
    private Long pages;
}
